﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace SuperStore.Models
{
    [DataStore(Name = "Orders")]
    public class Order
    {
        [DataStore(Name = "PK", PrimaryKey = true)]
        public Guid PK { get; set; }

        [DataStore(Name = "Order ID")]
        public int OrderID { get; set; }

        [DataStore(Name = "State")]
        public string State { get; set; }

        [DataStore(Name = "Member ID")]
        public Guid MemberID { get; set; }
    }

    public enum OrderState
    {
        InProgress,
        Done,
        Abandoned 
    }
}